import Layout from '@/layout/Layout'

const financeRouter = {
  path: '/finance',
  component: Layout,
  redirect: 'noredirect',
  name: '财务管理',
  meta: {
    title: '财务管理',
    icon: 'el-icon-s-ticket'
  },
  children: [
    {
      path: 'invoiceManagement',
      component: () => import('@/views/finance/InvoiceManagement'),
      name: 'InvoiceManagement',
      meta: { title: '税务发票',cache:true}
    },
    {
      path: 'refundManagement',
      component: () => import('@/views/finance/RefundManagement'),
      name: 'RefundManagement',
      meta: { title: '退款管理',cache:true}
    },
    {
      path:'merchantNoManagement',
      component:()=>import("@/views/finance/MerchantNoManagement"),
      name:'MarchantNoManagement',
      meta:{title:"商户号管理",cache:true}
    }
  ]
}

export default financeRouter
